package com.atguigu.gmall.product.controller;

import com.atguigu.gmall.model.product.BaseTrademark;
import com.atguigu.gmall.product.mapper.BaseTrademarkMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 卡尼奶
 * @Date 2022/5/17 18:51
 * @Version 1.0
 */
@RestController
public class TestController {

    @Autowired
    private BaseTrademarkMapper baseTrademarkMapper;

    @GetMapping("/ceshi")
    public String ceshi(){
        BaseTrademark baseTrademark = baseTrademarkMapper.selectById(49L);
        BaseTrademark baseTrademark2 = baseTrademarkMapper.selectById(49L);
        BaseTrademark baseTrademark3 = baseTrademarkMapper.selectById(49L);
        return "测试";
    }
}
